package com.sl.au.entity;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.CascadeType;

/**
 * 商户考核详情实体信息
 * 
 * @author 刘昆
 *
 */

@Entity
@Table(name = "sl_dcms_check_detail")
public class BusinessCheckDetail extends Root{
	
	@ManyToOne 
	@JoinColumn(nullable = true)
	private Option checkTypeInfo;//对应考核类型
	
	
	private String repairInfo;//对应考核类型
	
	
	@Column(nullable = true)
	private String pictureAdress;//图片
	
	
	@Column(nullable = true)
	private String memo;//备注
	
	
	@ManyToOne(cascade={CascadeType.MERGE})
	@JoinColumn(nullable = true)
	private BussinessCheck bussinessCheck;//对应考核信息


	


	public String getRepairInfo() {
		return repairInfo;
	}


	public void setRepairInfo(String repairInfo) {
		this.repairInfo = repairInfo;
	}


	public Option getCheckTypeInfo() {
		return checkTypeInfo;
	}


	public void setCheckTypeInfo(Option checkTypeInfo) {
		this.checkTypeInfo = checkTypeInfo;
	}


	public String getPictureAdress() {
		return pictureAdress;
	}


	public void setPictureAdress(String pictureAdress) {
		this.pictureAdress = pictureAdress;
	}


	public String getMemo() {
		return memo;
	}


	public void setMemo(String memo) {
		this.memo = memo;
	}


	public BussinessCheck getBussinessCheck() {
		return bussinessCheck;
	}


	public void setBussinessCheck(BussinessCheck bussinessCheck) {
		this.bussinessCheck = bussinessCheck;
	}
	
	
}
